export interface Order {
  id: number;
  orderNo: string;
  userId: number;
  type: 'COURSE' | 'TEST' | 'CONSULTATION';
  itemId: number;
  itemTitle: string;
  amount: number;
  paymentStatus: 'PENDING' | 'PAID' | 'FAILED' | 'REFUNDED';
  status: 'PENDING' | 'PROCESSING' | 'COMPLETED' | 'CANCELLED';
  createdAt: string;
  updatedAt: string;
  originalAmount: number;
  discountAmount: number;
  couponId?: number | null;
  transactionId?: string | null;
  payTime?: string | null;
  refundAmount: number;
  refundTime?: string | null;
  refundReason?: string | null;
  refundNo?: string | null;
  validStartDate?: string | null;
  validEndDate?: string | null;
  remark?: string | null;
  paymentMethod: 'ALIPAY' | 'WECHAT' | 'BALANCE';
}
